/*
 * @Author: 肖思汗 
 * @Date: 2025-06-25 15:59:56 
 * @Last Modified by: 肖思汗
 * @Last Modified time: 2025-06-25 16:31:10
 */

import Api from "src/api/Api";
//接口模版
class StickerModelApi extends Api {

    constructor() {
        super();
    }

    // 获取素材分类树形列表
    getMaterialCategoryTree() {
        return this._get("/system/material/category/tree/listMaterialCategory");
    }

    // 获取素材列表
    getMaterialsList(pageNum: number, pageSize: number, materialCategoryId: number) {
        return this._get("/system/material/listMaterialPage", {
            pageNum,
            pageSize,
            materialCategoryId,
            ifShow: true,
        });
    }




}

const stickerModelApi = new StickerModelApi();

export default stickerModelApi;